package graph;

public class NodeArc {
	
	double distance;
	NodeWorld source;
	NodeWorld target;
	
	public NodeArc(NodeWorld source, NodeWorld target, double distance){
		this.distance=distance;
		this.source=source;
		this.target=target;
	}

	public double getDistance() {
		return distance;
	}

	public void setDistance(double distance) {
		this.distance = distance;
	}

	public NodeWorld getSource() {
		return source;
	}

	public void setSource(NodeWorld source) {
		this.source = source;
	}

	public NodeWorld getTarget() {
		return target;
	}

	public void setTarget(NodeWorld target) {
		this.target = target;
	}
	
	

}
